from common.db import models


class RepoCreate(models.BusinessModel):
    """Create Repo"""
    name = models.CharField("茶仓名字")
    address = models.TextField("茶仓地址")
    price_per_100g_1d = models.DecimalField("元/100g/每日", max_digits=8, decimal_places=2)
    no = models.CharField("仓库编号", blank=True, null=True)

class AreaCreate(models.BusinessModel):
    """Create Area"""
    repo_id = models.CharField(verbose_name='仓库ID')
    no = models.CharField("存放区编号", blank=True, null=True)
